package ${packageName}.admin.service;

import ${packageName}.model.${modelName};
import java.util.List;

/**
* @author ailanyin
* @version 1.0
* @since ${.now?string('yyyy-MM-dd hh:mm:ss')}
*/
public interface ${serviceName}{

    /**
     * 条件查询列表
     *
     * @param ${modelName?uncap_first} ${modelName?uncap_first}
     * @return list
     */
    List<${modelName}> getListByParam(${modelName} ${modelName?uncap_first});

    /**
     * 新增
     *
     * @param ${modelName?uncap_first} ${modelName?uncap_first}
     */
    void insert${modelName}(${modelName} ${modelName?uncap_first});

    /**
     * 修改
     *
     * @param ${modelName?uncap_first} ${modelName?uncap_first}
     */
    void update${modelName}(${modelName} ${modelName?uncap_first});

    /**
     * 批量删除
     *
     * @param ids ids
     */
    void deleteByIds(Long[] ids);

    /**
     * 主键查询
     *
     * @param id id
     * @return ${modelName?uncap_first}
     */
    ${modelName} getInfo(Long id);
}
